package cn.uyunsky.platform.service.impl;

import cn.uyunsky.platform.data.UDataTool;
import cn.uyunsky.platform.data.UData;
import cn.uyunsky.platform.exception.PLException;
import cn.uyunsky.platform.service.IServiceAbstract;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>Description: 将系统参数返回给前端js</p>
 * @version 1.0
 */
@Service
@Transactional
public class AppDataService extends IServiceAbstract{



    @Override
	public UData doService(UData data) throws PLException {
		//Map pros = PropertiesHolder.toMap();
		Map<String, Object> pros = new HashMap<String, Object>();
		pros.put("aaa", "aaaa");
		pros.put("bbb", "bbbb");
		return UDataTool.createSuccessResult(pros);
	}

}
